package com.westos.userauth.dao.mybatis;

/**
 * @Description
 * @Date 2020/11/15
 * @Created by 张佳妮
 */


import com.westos.userauth.domain.*;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;
@Mapper
public interface PartyDAO {

    int updatePartyByStatus(@Param("party") Party party, @Param("status") String status);

    List<Party> queryAll(Party party);

    Party queryPartyByPartyId(String partyId);

    int deletePartyByPartyId(String partyId);

    int updatePartyAttribute(@Param("partyAttribute") PartyAttribute partyAttribute,@Param("partyId") String partyId);

    int deletePartyAttribute(String partyId);

    List<Party> lookupParty(Party party);

    Party findPartiesById(String id);

    int insertParty(Party party);
}
